<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setCharacterEncoding("UTF-8");
    response.setCharacterEncoding("UTF-8");
%>
<html>
<head>
    <title>万朗 2350300097</title>
</head>
<body>
<%
    String username = request.getParameter("username");
%>
<h1>欢迎<%= username %>客户的到来</h1>
<h2>请选择您需要购买的商品：</h2>

<form action="count2.jsp" method="post">
    <input type="hidden" name="username" value="<%= username %>">
    <label>
        <input type="checkbox" name="products" value="洗衣机"> 洗衣机
    </label>
    <br>
    <label>
        <input type="checkbox" name="products" value="冰箱"> 冰箱
    </label>
    <br>
    <label>
        <input type="checkbox" name="products" value="电视机"> 电视机
    </label>
    <br>
    <label>
        <input type="checkbox" name="products" value="空调"> 空调
    </label>
    <br>
    <label>
        <input type="checkbox" name="products" value="电风扇"> 电风扇
    </label>
    <br>
    <input type="submit" value="结算">
</form>
</body>
</html>
